<?php
/**
 * Created by PhpStorm.
 * User: user
 * Date: 2016/3/30
 * Time: 14:30
 */

use front\assets\AppAsset;
use yii\helpers\Url;

$base = AppAsset::register($this);
$baseUrl = $base->baseUrl;

$this->title = "退换货列表";
?>


<body class="u-bg1">

<div class="m-rpe">

    <h4 class="f-cb">
        <a href="<?= Url::to(['returngoods/list','page'=>0,'per-page'=>5])?>">我要申请</a>
        <a href="javascript:;" class="z-on">进度查询</a>
    </h4>
    <?php foreach($refundInfo as $refund) {?>
    <ul>
        <li class="f-cb"><label>服务单号：</label><span><?= $refund['id']?></span></li>
        <li class="f-cb"><?= $refund['product_title']?></li>
        <li class="f-cb"><label>问题描述：</label><span><?= isset($refund['cst_note'])? $refund['cst_note']: ""?></span></li>
        <li class="f-cb"><label>申请时间：</label><span><?= date('Y.m.d', $refund['created_at'])?></span></li>
        <li class="f-cb"><label>审核留言：</label><span><?= isset($refund['ser_note'])? $refund['ser_note']: ""?></span></li>
        <li class="f-cb"><label>状态：</label><span><?= $refund['stat_char']?></span></li>
    </ul>
    <?php }?>
</div>

</body>
























